package is.web.htgen.single;

/**
 *
 * @author aspr0
 */
public abstract class AbstractForm
{
    protected final String linksDiv = "<div class=\"links\">%s</div>";
    protected final String linkTable =
            "<a href=\".\">"
            + "<image src=\"../img/go-home.png\" class=\"linkIcon\">"
            + "table"
            + "</a>";
    protected final String linkUpdate =
            "<a href=\".?id=%1$s&act=update\">"
            + "<image src=\"../img/document-properties.png\" class=\"linkIcon\">update"
            + "</a>";
    protected final String linkCopy =
            "<a href=\".?id=%1$s&act=copy\">"
            + "<image src=\"../img/edit-copy.png\" class=\"linkIcon\">copy"
            + "</a>";
    protected final String linkDelete =
            "<a href=\".?id=%1$s&act=delete\">"
            + "<image src=\"../img/edit-delete.png\" class=\"linkIcon\">delete"
            + "</a>";
    protected final String linkRetrieve =
            "<a href=\".?id=%1$s&act=retrieve\">"
            + "<image src=\"../img/document-open.png\" class=\"linkIcon\">retrieve"
            + "</a>";
    /**
     * Link delimiter
     */
    protected final String lD = " | ";
    protected final String form =
            "<form method=\"post\" enctype=\"\">"
            + "%s"
            + "</form>";
    protected final String table =
            "<table>"
            + "%s"
            + "</table>";
    protected final String inputHidden = "<input type=\"hidden\" name=\"%s\" value=\"%s\">";
    protected final String inputSubmit = "<input type=\"submit\">";
    protected final String inputText = "<input type=\"text\" name=\"%s\" value=\"%s\" class=\"wide\">";
}
